package com.heima.test7;

public class AnimalDemo {
    public static void main(String[] args) {
        Cat cat = new Cat("小花", 3);
        Dog dog = new Dog("大黄", 6);
        cat.catchMouse();
        dog.lookDoor();
    }
}
